package cn.stylefeng.guns.modular.yingbao.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.yingbao.entity.SysGroupSetting;
import cn.stylefeng.guns.modular.yingbao.model.params.SysGroupSettingParam;
import cn.stylefeng.guns.modular.yingbao.model.result.SysGroupSettingResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 团队收益设置表 服务类
 * </p>
 *
 * @author jj
 * @since 2019-12-18
 */
public interface SysGroupSettingService extends IService<SysGroupSetting> {

    /**
     * 新增
     *
     * @author jj
     * @Date 2019-12-18
     */
    ResponseData add(SysGroupSettingParam param);

    /**
     * 删除
     *
     * @author jj
     * @Date 2019-12-18
     */
    void delete(SysGroupSettingParam param);

    /**
     * 更新
     *
     * @author jj
     * @Date 2019-12-18
     */
    void update(SysGroupSettingParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author jj
     * @Date 2019-12-18
     */
    SysGroupSettingResult findBySpec(SysGroupSettingParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author jj
     * @Date 2019-12-18
     */
    List<SysGroupSettingResult> findListBySpec(SysGroupSettingParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author jj
     * @Date 2019-12-18
     */
     LayuiPageInfo findPageBySpec(SysGroupSettingParam param);

}
